﻿/*
 * Last review by   : Yaser
 * Last review date : JUL-21-09
 */
using System;

namespace ERP.Business.DataTypes.Employee.Information
{
    /// <summary>
    /// Official Information
    /// </summary>
    [System.Runtime.Serialization.DataContract]
    [Serializable]
    [System.Runtime.Serialization.KnownType(typeof(OfficialInformation))]
    public class OfficialInformation : BaseTypes.BaseType
    {
        #region Properties

        /// <summary>
        /// Gets or sets the official document number.
        /// </summary>
        /// <value>The official document number.</value>
        [System.Runtime.Serialization.DataMember]
        public string OfficialDocumentNumber
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the driving license number.
        /// </summary>
        /// <value>The driving license number.</value>
        [System.Runtime.Serialization.DataMember]
        public string DrivingLicenseNumber
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the primary nationality.
        /// </summary>
        /// <value>The primary nationality.</value>
        [System.Runtime.Serialization.DataMember]
        public Constants.Nationality PrimaryNationality
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the secondary nationality.
        /// </summary>
        /// <value>The secondary nationality.</value>
        [System.Runtime.Serialization.DataMember]
        public Constants.Nationality SecondaryNationality
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the type of the document.
        /// </summary>
        /// <value>The type of the document.</value>
        [System.Runtime.Serialization.DataMember]
        public Constants.OfficialDocumentType DocumentType
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the document expiration date.
        /// </summary>
        /// <value>The document expiration date.</value>
        [System.Runtime.Serialization.DataMember]
        public DateTime DocumentExpirationDate
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the type of the driving license.
        /// </summary>
        /// <value>The type of the driving license.</value>
        [System.Runtime.Serialization.DataMember]
        public Constants.DrivingLicenseType DrivingLicenseType
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the driving license expiration date.
        /// </summary>
        /// <value>The driving license expiration date.</value>
        [System.Runtime.Serialization.DataMember]
        public DateTime DrivingLicenseExpirationDate
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the tax file number.
        /// </summary>
        /// <value>The tax file number.</value>
        [System.Runtime.Serialization.DataMember]
        public string TaxFileNumber
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the social security number.
        /// </summary>
        /// <value>The social security number.</value>
        [System.Runtime.Serialization.DataMember]
        public string SocialSecurityNumber
        {
            get;
            set;
        }

        #endregion
    }
}
